/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.opensource.jdom.taggen.html.tag;

import org.opensource.jdom.taggen.html.CommonAttributes;

/**
 *
 * Insertion. Used to define an editorial insertion of content. Often used along
 * with del.
 *
 * <h2>Example</h2> <pre><code class="html">
 * &lt;p&gt;It really was <strong>&lt;del cite="rarara.html"
 * datetime="20031024"&gt;</strong>very<strong>&lt;/ins&gt;</strong> good
 * .&lt;/p&gt;
 * </code></pre>
 *
 * @see Ins
 * @author sergio.valdez
 */
public class Del extends CommonAttributes{

    /**
     * can be used to specify the location (as a URI) of an explanation of why
     * the insertion was made.
     */
    private String cite;
    /**
     * can be used to specify when the insertion was made.
     */
    private String datetime;

    /**
     * can be used to specify the location (as a URI) of an explanation of why
     * the insertion was made.
     * @return the cite
     */
    public String getCite() {
        return cite;
    }

    /**
     * can be used to specify the location (as a URI) of an explanation of why
     * the insertion was made.
     * @param cite the cite to set
     */
    public void setCite(String cite) {
        this.cite = cite;
    }

    /**
     * can be used to specify when the insertion was made.
     * @return the datetime
     */
    public String getDatetime() {
        return datetime;
    }

    /**
     * can be used to specify when the insertion was made.
     * @param datetime the datetime to set
     */
    public void setDatetime(String datetime) {
        this.datetime = datetime;
    }
}
